package com.lzp.timer;

import com.lzp.server.WechatBillServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import java.io.File;

/**
 * @author : lzp
 * @version 1.0
 * @date : 2022/10/17 15:07
 * @apiNote : 每个月的账单定时获取任务
 */
//@Component
public class BatchEch {
   // @Autowired
   // WechatBillServer wechatBillServer;
   //@Scheduled(cron = "* * * * * *")
   // public void batch(){
   //    //todo 这里调用微信支付获取账单接口拿到账单
   //    File billFile= wechatBillServer.getBill("username","password");
   //    //billFile
   //}
}
